<template>
  <div class="app-container">
    <!-- Header 区域 -->
    <es-header></es-header>

    <!-- 商品 Item 项组件 -->
    <es-goods
      v-for="i in 3"
      :key="i"
      :id="1"
      :title="'标题'"
      :thumb="'https://www.escook.cn/vuebase/pics/9.png'"
      :price="99"
      :count="3"
    ></es-goods>

    <!-- Foote 区域 -->
    <es-footer></es-footer>
  </div>
</template>

<script>
import EsHeader from "@/components/Header.vue";
import EsFooter from "@/components/Footer.vue";
import EsGoods from "@/components/Goods.vue";

export default {
  name: "App",
  components: {
    EsHeader,
    EsFooter,
    EsGoods,
  },
};
</script>

<style lang="less" scoped>
.app-container {
  padding: 50px 0;
  font-size: 14px;
}
</style>